<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css3动画</title>
</head>
<style>
    @keyframes divwidth {
        0%{left: 0}
        33%{left: 100px}
        66%{left: 400px}
        100%{left: 600px}
    }
    div{
        /*border: 1px solid black;*/
        background: pink;
        height: 90px;
        width: 100px;
        animation: divwidth 2s linear 0s 3;
    }
</style>
<body>
<div>

</div>
</body>
</html>